﻿using System;
using System.Text;

namespace IIS根据9期更改版
{
    public class Demoasp2:IHttpHandler
    {
         
        public void ProcessRequest(HttpContent content)
        {
            string bodystr = DateTime.Today.ToLongDateString();
            content.HttpResponse.StateCode = "200";
            content.HttpResponse.StateDes = "OK";
            content.HttpResponse.ContentType = "text/html";
            content.HttpResponse.Body = Encoding.Default.GetBytes(bodystr);
        }
    }
}